class Person {

}

interface ICRORPerson {
  new(): Person
}

function factory(fn: ICRORPerson) {
  const f = new fn()
  return f
}

factory(Person)